package cn.hxzy.teacher.service.impl;

import cn.hxzy.common.domain.vo.Examination;
import cn.hxzy.teacher.mapper.SysExamResultMapper;
import cn.hxzy.teacher.service.SysExamResultService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysExamResultImpl implements SysExamResultService {
    @Autowired
    private SysExamResultMapper sysExamResultMapper;
    @Override
    public List<Examination> selecttid(Integer ye, Integer pageSize, Integer id) {
        List<Examination> selecttid = sysExamResultMapper.selecttid(ye, pageSize, id);
        return selecttid;
    }

    @Override
    public Integer selectzong(Integer id) {
        Integer selectzong = sysExamResultMapper.selectzong(id);
        return selectzong;
    }
}
